package com.baizhi.service;

import com.baizhi.entity.Department;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    int insert(Department dep);
    int delete(Integer did);
    int deleteAny(int[] dids);
    Department selectById(Integer did);
    int update(Department dep);
    PageInfo<Department> selectByPage(String name,Integer pageNum,Integer pageSize);
    List<Department> selectGetJson();//ajax请求时  要展示所有的科室
    List<Department> selectTriageStatus();//查询每个科室  以及其下所有等待诊断的患者数量  显示在诊断页面首页
}
